home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / a86v311c.arc / 14ERRS.DOC < prev    next >
Text File  |  1987-09-25  |  29KB  |  637 lines

  1. CHAPTER 14   DESCRIPTIONS OF A86 ERROR MESSAGES           14-1
  2.  
  3. ~01 Unknown Mnemonic~
  4.  
  5.    Most assembly-language lines start with an built-in
  6.    instruction mnemonic such as MOV or ADD.  The only
  7.    circumstances in which a line can start with non-built-in
  8.    symbol are if the symbol is a macro name or INT equate, or if
  9.    the symbol is now being defined, as indicated by a limited set
  10.    of following symbols: a colon, EQU, DB, DW, etc.  This line
  11.    started with a non-built-in symbol which did not fall into any
  12.    of the above categories.  You might have misspelled an
  13.    instruction mnemonic, or misspelled the following word.
  14.  
  15. ~02 Jump > 128~
  16.  
  17.    The destination operand of a conditional jump must be a label
  18.    within 128 bytes of the end of the instruction.  (Precisely,
  19.    from -128 to +127 from the next instruction, which is from
  20.    -126 to +129 from the start of the conditional jump.)   This
  21.    error is reported in three possible places:
  22.     1. At the conditional jump.  The operand is more than 126
  23.      bytes before the jump, or the operand is not a label (e.g. you
  24.      tried an indirect conditional jump through a variable, which
  25.      isn't allowed)
  26.     2. At a label definition.  In this case, you use your editor
  27.      to search backwards for references to the label.  One or more
  28.      of the earliest conditional jumps found are too far away.
  29.     3. At a RET, RETF, or IRET instruction.  You use your editor
  30.      to search backwards for that flavor of RET used as the operand
  31.      to a conditional jump (the A86 conditional-return feature).
  32.      The earliest such jumps not satisfied by a previous RET are
  33.      too far away.
  34.    You usually correct this error by rearranging your code, or
  35.    (better) by breaking intervening code off into subroutines.
  36.    If desperate, you can replace "Jcond" with "IF cond JMP".
  37.  
  38. ~03 [BX+BP] And [SI+DI] Not Allowed~
  39.  
  40.    The 86 instruction set does not support the combinations of
  41.    indexing registers indicated in the error message.  In
  42.    previous versions of A86, this error was reported in other
  43.    illegal operand combinations; I've attempted to change other
  44.    cases to error 14.  If you ever find otherwise, let me know.
  45.  
  46. ~04 Bad Character In Number~
  47.  
  48.    All numbers, and only numbers, start with a decimal digit.
  49.    (It's illegal to have a symbol begin with a digit; e.g.
  50.    01MYVAR .)   You have coded something that starts with a
  51.    decimal digit but does not have the correct format for a
  52.    numeric constant.  See Chapter 8 for detailed descriptions of
  53.    the formats of both integer and floating constants.
  54.                                                           14-2
  55. ~05 Operands Not Allowed~
  56.  
  57.    When this error is reported it usually means that you have
  58.    provided something more than just the mnemonic for an
  59.    instruction that does not have any operands: e.g., PUSHF,
  60.    STOSB, STC, FLDPI, CLTS.  It's also called in other contexts
  61.    when the assembler expects nothing more on the line; e.g.,
  62.    NAME with more than just a single name following, or something
  63.    following the word ENDS.
  64.  
  65. ~06 Symbol Required~
  66.  
  67.    This is reported in numerous situations where A86 requires
  68.    some sort of symbol: either a built-in assembler mnemonic, or
  69.    a symbol you define.  (It's possible that a number or some
  70.    punctuation marks are legal in the context, and that they have
  71.    already been checked for.)  Instead of a symbol, a punctuation
  72.    mark or out-of-context number was seen.  The contexts in
  73.    which this error can occur include:
  74.     * the start of a line (characters hex 3C or greater)
  75.     * after the following at the start of a line:
  76.        a symbol you define, #, #IF, IF, CODE, or DATA
  77.     * where operands to the following directives are expected:
  78.        NAME, PUBLIC, EXTRN, GROUP, SEGMENT
  79.     * after ">" denoting a local-label forward reference
  80.  
  81. ~07 Local Symbol Required~
  82.  
  83.    This is reported when something other than a generic local
  84.    label (letter followed by one or more digits) follows a ">"
  85.    mark, which denotes a local-label forward reference.  If you
  86.    meant "greater than" you use the GT operator instead.
  87.  
  88. ~08 Too Many Operands~
  89.  
  90.    This is reported for instructions and directives requiring a
  91.    limited number of operands, for which the limit is exceeded.
  92.    Since operands are separated by commas, you have too many
  93.    commas-- possibly an extra comma between the mnemonic and
  94.    first operand, or at the end of the operands.
  95.  
  96. ~09 Constant Required~
  97.  
  98.    This is reported for instructions and directives (ENTER, RET,
  99.    RADIX, etc.) requiring operands that are an immediate constant
  100.    number; and for expression operators (*, /, SHL, OR, NOT, BY,
  101.    etc.) whose operands must be constant.  In some cases a
  102.    limited number of forms other than constants are acceptable,
  103.    but the assembler has already checked for and not found those
  104.    possibilities.
  105.  
  106. ~10 More Operands Required~
  107.  
  108.    This is reported for instructions requiring two operands, for
  109.    which you have provided no operands or only one operand.  You
  110.    might have left out the comma separating the operands.
  111.                                                           14-3
  112. ~11 Constant/Label Not Allowed~
  113.  
  114.    This is reported when you have given a constant number in a
  115.    place where it isn't allowed-- usually as a destination
  116.    operand to an instruction, such as the first operand to a MOV
  117.    or ADD.  If you meant the operand to be the memory location
  118.    with the constant offset, you must convert the type by
  119.    enclosing the operand in brackets [ ] or appending a size-
  120.    specifier (B, W, D, Q, or T) to the number.
  121.  
  122. ~12 Segment Register Not Allowed~
  123.  
  124.    This is reported when you have used a segment register in an
  125.    instruction where it isn't allowed.  The only instructions
  126.    allowing segment registers as operands are MOV, PUSH, and POP.
  127.    You can't, for example, ADD into a segment register.  If you
  128.    want to do anything with a segment register value, you have to
  129.    MOV it into a general register, perform the operation, then
  130.    MOV the result back to the segment register.
  131.  
  132. ~13 Byte/Word Combination Not Allowed~
  133.  
  134.    This is reported in a two-byte instruction in which one
  135.    operand is byte-sized and the other word-sized; or in an
  136.    instruction with a byte-sized destination and an immediate
  137.    source whose value is not byte-sized (high byte not 0 or 0FF).
  138.    If one of the operands is a memory variable of the wrong size,
  139.    you either change the declaration of the variable (DB to DW or
  140.    vice versa) or override the size of the variable in this
  141.    instruction only, by appending a " B" or " W" to the memory
  142.    operand.
  143.  
  144. ~14 Bad Operand Combination~
  145.  
  146.    This is reported when you attempt to add or combine terms in
  147.    an operand expression that do not allow combination.  An
  148.    example of this would be DT 3.7+BX.  Only constants can be
  149.    added to floating-point numbers.
  150.  
  151. ~15 Bad Subtraction Operands~
  152.  
  153.    This is reported when you attempt to subtract terms in an
  154.    operand expression that do not allow subtraction, or if the
  155.    right-hand side to a subtraction is missing.  If the right-
  156.    hand side to a subtraction is a non-forward-referenced
  157.    constant, then the left side can be almost anything.
  158.    Otherwise, the operands must match; e.g., labels from
  159.    relocatable segments must be in the same segment (in which
  160.    case the answer is an absolute constant; namely, the size of
  161.    the block of memory between the two labels).
  162.  
  163. ~16 Definition Conflicts With Forward Reference~
  164.  
  165.    This error occurs when the assembler has previously guessed
  166.    the type of a forward-referenced symbol in order to determine
  167.    what kind of instruction to generate, and the guess turned out
  168.    to be wrong.  The error is reported at the time the symbol is
  169.                                                           14-4
  170.    defined.  For example, when A86 sees MOV AX,FOO, it will
  171.    assume FOO is an immediate value.  This error is reported if
  172.    FOO turns out to be a word variable: FOO DW 0.  You need to
  173.    search backwards from the error message, to references of FOO,
  174.    and specify the type you intend to be used: MOV AX,FOO W.  If
  175.    you really did intend to load the offset of FOO and not the
  176.    memory contents, you can code MOV AX,OFFSET FOO to make the
  177.    error message go away.
  178.  
  179. ~17 Zero Divide~
  180.  
  181.    This is reported when the right-hand side to a division or MOD
  182.    operation is zero.
  183.  
  184. ~18 Same Type Required~
  185.  
  186.    This is reported when the two operands to a relational
  187.    operator (EQ, NE, GT, GE, LT, or LT) are of different types.
  188.    The operands to a relational operator ought to be both
  189.    absolute integer constants, or labels in the same segment.
  190.  
  191. ~19 CS Destination Not Allowed~
  192.  
  193.    This is reported if you attempt to specify CS as the
  194.    destination (first) operand to MOV, or as an operand to POP.
  195.    The only acceptable way to load CS on the 8086 is via a far
  196.    JMP, CALL, RETF, or IRET instruction.  The MOV and POP forms
  197.    don't make much sense, so they were outlawed by Intel.
  198.  
  199. ~20 Left Operand Not Allowed~
  200.  
  201.    This is reported if you have a left-hand side to an expression
  202.    operator that expects only a single operand to its right.
  203.    Those operators are BIT, NOT, OFFSET, TYPE, LOW, HIGH, SHORT,
  204.    LONG, and INT.  (The mnemonic INT is considered an operator
  205.    e.g., in MSDOS EQU INT 33.)  For example, you would get this
  206.    error for the expression 1 NOT 2.
  207.  
  208. ~21 Bad Single Operand~
  209.  
  210.    This is reported if the operand is inappropriate for an
  211.    instruction INC, DEC, PUSH, POP, NOT, NEG, MUL, IMUL, DIV, or
  212.    IDIV, that takes a single operand.  You should look up the
  213.    instruction in the chart in Chapter 6, to determine the proper
  214.    operand forms allowed.
  215.  
  216. ~22 Bad DUP Usage~
  217.  
  218.    This is reported when a DUP construct occurs out of context
  219.    (e.g. in an instruction operand instead of a data
  220.    initialization); when the total number of bytes generated
  221.    would push the output pointer beyond 64K; or when there is
  222.    improper syntax for a DUP.  See Chapter 9 for the description
  223.    of correct DUP usage.
  224.                                                           14-5
  225. ~23 Number Too Large~
  226.  
  227.    This is reported when a numeric constant is too large for the
  228.    assembler to store in its operand buffers-- the limit for
  229.    integers is 2**80-1 = 1208925819614629174706175 decimal. The
  230.    error is also given when the exponent part of a floating-point
  231.    constant is greater than 65535 in magnitude.
  232.  
  233. ~24 SEGMENT or ENDS Required~
  234.  
  235.    This is reported if a line beginning with one of the two A86
  236.    keywords CODE or DATA does not continue with one of the
  237.    keywords SEGMENT or ENDS.  If you meant CODE or DATA to be a
  238.    symbol you define, you have to change the name to something
  239.    else, like _CODE or _DATA.
  240.  
  241. ~25 Bad CALL/JMP Operand~
  242.  
  243.    This is reported if the operand to a call or jump instruction
  244.    is cannot be taken as a jump destination.  This occurs if the
  245.    operand is missing, if it has a size inappropriate for address
  246.    pointers: byte, quadword, or ten-byte.  The error also occurs
  247.    if the operand is a constant number, and you are assembling to
  248.    an OBJ format.  In OBJ format anything jumped to within a
  249.    segment must be specified as a label within some segment.
  250.  
  251. ~26 Memory Doubleword Required~
  252.  
  253.    This is reported if the second operand to an LDS, LES, or BOUND
  254.    instruction is of the wrong type.  The operand should be a
  255.    doubleword memory quantity; but A86 will accept a word memory
  256.    variable or a memory variable of unspecified size.
  257.  
  258. ~27 Bad IN/OUT Operand~
  259.  
  260.    This is reported when the operands to IN or OUT do not have
  261.    the correct form.  See Chapter 6 for the limited set of forms
  262.    for these instructions.  One of the operands must be AL or AX;
  263.    the other must be DX or a constant between 0 and 255.
  264.  
  265. ~28 :type Required~
  266.  
  267.    This is reported when a symbol given in an EXTRN list is not
  268.    followed by a colon followed by one of the type names B, W, D,
  269.    Q, T, F, NEAR, or ABS.  The more verbose synonyms BYTE, WORD,
  270.    DWORD, QWORD, and TBYTE are also acceptable.
  271.  
  272. ~29 Bad Rotate/Shift Operand~
  273.  
  274.    This is reported when the count (second) operand to a rotate
  275.    or shift instruction is not appropriate: it should be either
  276.    the name CL or a constant less than 32.  The instructions
  277.    requiring this are ROL, ROR, RCL, RCR, SHL, SHR, SAL, SAR, and
  278.    the NEC-specific instructions SETBIT, TESTBIT, CLRBIT, and
  279.    NOTBIT.
  280.                                                           14-6
  281. ~30 Byte-Sized Constant Required~
  282.  
  283.    This is reported in contexts where only a byte-sized absolute
  284.    constant is acceptable.  Those contexts are: the operand to a
  285.    BIT or INT operator in an expression; the required operand to
  286.    an INT or CALL80 instruction; the optional operand to an AAM
  287.    or AAD instruction.
  288.  
  289. ~31 Instruction In Data Segment Not Allowed~
  290.  
  291.    There are only a limited number of directives allowed with a
  292.    STRUC or a DATA segment.  This error is reported when any
  293.    instructions or disallowed directives are seen in one of these
  294.    restricted environments.  You have possibly neglected to
  295.    provide an ENDS directive, returning you to normal assembly.
  296.    In a STRUC, the only directives allowed are DB, DW, DD, DQ,
  297.    DT, another STRUC, ENDS, EQU, SEGMENT, GROUP, MACRO, LABEL,
  298.    EVEN, and ORG.  The DATA segment allows the same directives,
  299.    plus PROC, ENDP, DATA, and CODE.
  300.  
  301. ~32 Bad String~
  302.  
  303.    This is reported when you start a quoted string, and do not
  304.    provide the closing quote in the same line.  You might have
  305.    left it out; or you might not have intended to code a string
  306.    at all, and accidentally inserted a single- or double-quote
  307.    mark in your line.  Or you might have intended a string
  308.    containing an end-of-line, which isn't allowed.  You must
  309.    instead close the string and code hex bytes 0D,0A to represent
  310.    an end-of-line.
  311.  
  312. ~33 Bad Data Operand~
  313.  
  314.    This is reported if an inappropriate operand is seen in a data
  315.    initialization (DB, DW, DD, DQ, or DT) directive.  Example of
  316.    this are indexed quantities such as [BX], non-byte quantities
  317.    in a DB, or floating-point constants in a DB or DW.
  318.  
  319. ~34 Index Brackets Required~
  320.  
  321.    This is reported if the name of a register is given in an
  322.    addition/combination operation, but the register is not
  323.    enclosed in square brackets.  The only registers that may be
  324.    added are those presented as indexing registers.  For example,
  325.    don't code BX+2, code [BX+2].
  326.  
  327. ~35 Bad Character~
  328.  
  329.    This is reported when a punctuation mark or other non-standard
  330.    character is seen where it is not expected.  The characters
  331.    causing this error at the beginning of a line are digits, and
  332.    the marks /-,+*()&"!   --  other illegal marks at the start of
  333.    a line cause error 6, Symbol Required.  The characters causing
  334.    this error elsewhere (i.e. within operands) are all characters
  335.    except letters, digits, and the marks []+-'">()*./:
  336.                                                           14-7
  337. ~36 String > 2 Not Allowed~
  338.  
  339.    This is reported when a string with 3 or more characters is
  340.    seen outside of the places where such a string is allowed (in
  341.    a DB directive, macro operand, or relocatable SEGMENT
  342.    directive).  One- and two-character strings are treated as
  343.    simple numeric constants; but longer strings require special
  344.    handling and are allowed only in the places mentioned.
  345.  
  346. ~37 Misplaced Built-In Symbol~
  347.  
  348.    The symbol just before this error message is an A86 built-in
  349.    symbol, that is in a place where it doesn't belong.  Examples
  350.    of this are: mnemonics such as MOV occurring in operands;
  351.    and symbols that aren't mnemonics such as LT occurring at the
  352.    start of the line.  If you thought you could define the symbol
  353.    to the left of this message for your own use, you were wrong.
  354.    You need to change the symbol to something else-- TEST to
  355.    _TEST, for example.  If you'd like to know the built-in
  356.    meaning of the symbol, you can look it up in Chapter 16.
  357.  
  358. ~38 Segment Combination Not Allowed~
  359.  
  360.    This is reported when you attempt to add or combine a segment
  361.    or group name with another quantity.  A86 currently doesn't
  362.    allow this.
  363.  
  364. ~39 Bad Index Register~
  365.  
  366.    This is reported when you attempt to use a register other than
  367.    SI, DI, BX, or BP for indexing.  Those are the only registers
  368.    that the 86 architecture allows you to place inside brackets,
  369.    to address memory.
  370.  
  371. ~40 Conflicting Multiple Definition Not Allowed~
  372.  
  373.    This is reported when you define a symbol in two places
  374.    in your program, and the definitions aren't the same.  Most
  375.    often you have simply forgotten you already had a symbol
  376.    somewhere of the same name, and you need to change the name of
  377.    one of the two symbols you've defined.  A86 allows the re-use
  378.    of a symbol if it is a generic local label (a letter followed
  379.    by one or more digits), or if is defined with = instead of
  380.    EQU.  A86 also allows the redefinition of a symbol if it has
  381.    exactly the same value (e.g. ESC EQU 01B in two places in your
  382.    program).  See the section "Duplicate Definitions" in Chapter
  383.    9 for a detailed discussion of this feature.
  384.  
  385. ~41 ENDS Has No Segment~
  386.  
  387.    This error occurs when A86 is assembling to an OBJ file, and
  388.    it sees an ENDS at the outermost level of segments-- the ENDS
  389.    has not been preceded by a matching SEGMENT directive.  You
  390.    need to look over your SEGMENT and ENDS directives, to get
  391.    them to match up properly.
  392.                                                           14-8
  393. ~42 Bad IF Operand~
  394.  
  395.    This is reported when an IF is not followed by one of the
  396.    flag-mnemonics (e.g., E, Z, NC, AE, etc.) that follow "J" in a
  397.    conditional jump instruction.  Most likely the line is a
  398.    conditional-assembly line intended for another assembler.  In
  399.    A86, conditional assembly lines begin with a hash-sign #.  So
  400.    you change IF, ELSE, ENDIF to #IF, #ELSE, #ENDIF.  You may
  401.    also need to change the condition following IF: IF FOO EQU 0
  402.    becomes #IF !FOO; IFDEF FOO becomes simply #IF FOO. IF
  403.    (expression) must be replaced by the two lines C1 EQU
  404.    (expression) followed by #IF C1 .  See Chapter 11 for the
  405.    details of A86's syntax for conditional assembly.  See Chapter
  406.    5 for the way A86 uses IF when it doesn't have a hash-sign #.
  407.  
  408. ~43 Parenthesis/Bracket Mismatch~
  409.  
  410.    This is reported when there is a lack of balance of
  411.    parentheses () or brackets [] in an operand expression-- there
  412.    are too many left-sides, too many right-sides, or the brackets
  413.    are interleaved illegally: ([)].  Most likely you have left
  414.    out an opening or closing parenthesis/bracket in a complicated
  415.    expression; or a spurious extra ()[] has crept into your code.
  416.  
  417. ~44 Bad Forward Reference Combination~
  418.  
  419.    This is reported when you try to use forward references in
  420.    expressions that are too complicated for A86 to handle.  You
  421.    can add or subtract constants from forward-referenced symbols;
  422.    but you can't subtract a forward-referenced symbol from
  423.    anything, and you can't add two forward references together.
  424.    You can typically get around restrictions in forward-reference
  425.    expressions by moving the expression down to an EQU directive
  426.    after the point that the symbols are defined, and making a
  427.    forward reference to the EQUated symbol that represents the
  428.    evaluated expression.
  429.  
  430.    This error is also reported in some situations involving
  431.    relocatable symbols in OBJ mode -- these symbols are forward
  432.    references in the sense that they are resolved only at link
  433.    time.
  434.  
  435. ~45 Is It Byte Or Word?~
  436.  
  437.    This is reported when you have a memory operand of
  438.    unspecified size, and A86 needs to know whether the operand is
  439.    byte-sized or word-sized, in order to generate the correct
  440.    instruction form.  All you need to do is to append a B or a W
  441.    to the operand, to specify the size you want.  For example, if
  442.    you've coded INC [BX], you need to decide between INC B[BX]
  443.    and INC W[BX].  If you've coded ADD FOO,4 where FOO is a
  444.    forward reference, you need to specify ADD FOO B,4 or
  445.    ADD FOO W,4 .
  446.                                                           14-9
  447. ~46 Bad #-Construct~
  448.  
  449.    This is reported if, within a macro definition, a # is
  450.    seen that is not followed by one of the allowed macro-
  451.    parameter constructs described in Chapter 11.  Even in quoted
  452.    strings, the hash-sign # must be literalized via ## if it is
  453.    to be taken as-is.
  454.  
  455.    The error is also reported if # occurs at the beginning of a
  456.    line, and is not followed by IF, ELSEIF, ELSE, or ENDIF; or if
  457.    a conditional-assembly parameter is a built-in mnemonic e.g.
  458.    #IF MOV .  See Chapter 11 for the correct usage of the hash
  459.    sign in both macros and conditional assembly.
  460.  
  461. ~47 #ENDIF Required~
  462.  
  463.    This is reported if you have an #IF without a corresponding
  464.    #ENDIF before the end of the file (or the end of the macro
  465.    expansion if the #IF was assembled during a macro expansion).
  466.    When this message appears at the end of a file, you need to
  467.    search backwards for #IFs, to find the unclosed block.
  468.  
  469. ~48 #EM Required To End Macro~
  470.  
  471.    This is reported if you have a MACRO without an end.  In A86,
  472.    the end of a macro is given by #EM.  Most likely your file was
  473.    written for another assembler, and you need to convert macro
  474.    definitions.  You need to change all ENDM directives to #EM.
  475.    You also need to eliminate the named parameters from the MACRO
  476.    line, and replace occurrences of the named parameters with #1,
  477.    #2, #3, etc.  The &-concatenation operator can be dropped.
  478.    See Chapter 11 for a full description of A86's macro syntax.
  479.  
  480. ~49 End Delimiter to COMMENT Required~
  481.  
  482.    This is reported when the portion of code skipped in a COMMENT
  483.    directive has run to the end of the file, without the closing
  484.    delimiter being found.  You need to search backwards from the
  485.    end of the file to find the COMMENT directive, figure out
  486.    where you intend the directive to end, and duplicate the
  487.    delimiter (the first non-blank following COMMENT) at that end-
  488.    point.  See Chapter 4 for a full description of the COMMENT
  489.    directive.
  490.  
  491. ~50 Reg,Mem Required~
  492.  
  493.    This is reported when you have an improper combination of
  494.    operands for a MOV, XCHG, or general arithmetic instruction
  495.    such as ADD, SUB, CMP, XOR, etc.  Most often you have
  496.    attempted to provide two memory operands: MOV VAR1,VAR2 or ADD
  497.    VAR1,VAR2.  One of the operands must be a register.  You can
  498.    effect the memory-to-memory operation by using a register
  499.    in a two-instruction sequence; for example, MOV AX,VAR2
  500.    followed by ADD VAR1,AX .  For convenience, A86 lets you code
  501.                                                           14-10
  502.    the sequence with the single line ADD VAR1,AX,VAR2.
  503.  
  504.    If you don't wish to clobber the contents of any registers,
  505.    and the operands are word-sized, you may PUSH the source
  506.    operand and then POP to the destination operand: PUSH VAR2
  507.    followed by POP VAR1.
  508.  
  509. ~51 Segment Override Not Allowed Here~
  510.  
  511.    For compatibility with other assemblers, A86 allows segment
  512.    override operators CS:, DS:, ES:, or SS: within expressions in
  513.    instruction operands.  The override informs the assembler that
  514.    the named segment register is to be used for the memory
  515.    reference, so that the assembler might generate a segment-
  516.    override opcode byte.  This error is reported when a segment-
  517.    override operator occurs out of context: in A86's special
  518.    three-operand form for MOV or arithmetic instructions; within
  519.    a DATA segment or STRUC, or in an EQU directive.  You might
  520.    encounter the last case if you're porting a program written
  521.    for another assembler.  If so, you might have to provide
  522.    explicit overrides wherever the EQUated symbol is used.  It's
  523.    possible, though, that the override is provided only to
  524.    satisfy the other assembler's segment-checking mechanism, and
  525.    no overrides are generated at all.  In that case, you can just
  526.    eliminate the override operator.
  527.  
  528. ~52 Byte Operand Required~
  529.  
  530.    This is reported when an operand to one of the NEC-specific
  531.    instructions STOBITS, LODBITS, ROL4, ROR4 is of the wrong
  532.    type.  STOBITS and LODBITS require the first operand to be a
  533.    byte-sized register and the second operand to be either a
  534.    byte=sized register or an immediate constant.  ROL4 and ROR4
  535.    require the only operand to be a byte-sized register.
  536.  
  537. ~53 Word Register Required~
  538.  
  539.    This is reported when the first operand to any of the
  540.    instructions LDS, LES, LEA, BOUND, IMUL, LAR, or LSL is not a
  541.    word-sized general register (AX,BX,CX,DX,SI,DI,BP, or SP).
  542.  
  543. ~54 Floating-Point Chip Required~
  544.  
  545.    This is reported when you attempt to assemble a program with
  546.    floating-point constants or floating-point expressions, and
  547.    you do not have a floating-point chip (8087 or 287) in your
  548.    computer system.  A86 uses the 87 to assemble constants and do
  549.    arithmetic.  It's time for you to buy a chip and install it in
  550.    that empty socket!
  551.                                                           14-11
  552. ~55 Bad Floating-Point Operand~
  553.  
  554.    This is reported when an operand to a floating-point
  555.    instruction is not of the correct type.  See Chapter 7 for the
  556.    correct forms for the instruction you're coding.  Some
  557.    possibilites for the error are:
  558.    * a memory operand has unspecified size, or a size not
  559.      compatible with the instruction.  Integer instructions
  560.      (FIxxx) require a W or D operand; floating arithmetic
  561.      instructions require a D or Q operand.
  562.    * you've tried to specify an 86 register instead of a memory
  563.      operand.
  564.    * you've tried A86's special FLD (constant) form in OBJ mode.
  565.      Sorry, I support this only for COM mode (mainly for D86).
  566.    * you've specified two register numbers (0 through 7), but
  567.      neither is 0.
  568.    * you've tried one of the disallowed forms FCOM i,0 or
  569.      FCOMP i,0
  570.  
  571. ~56 Constant 0--7 Required~
  572.  
  573.    This is reported if a constant number operand to an 87
  574.    instruction, which is supposed to represent an 87 stack number
  575.    (0 through 7), does not have the right value; i.e., it's not
  576.    an integer, or it's not in the range 0 through 7.
  577.  
  578. ~57 Memory Operand Required~
  579.  
  580.    This is reported when an operand to a floating-point or a 286
  581.    protected-mode instruction must be a memory operand, and the
  582.    operand you've provided isn't one.  See Chapters 7 (for
  583.    floating) or 6 (for protected) for the correct syntax of the
  584.    instruction you're coding.
  585.  
  586. ~58 Struc Name Not Allowed~
  587.  
  588.    This is reported when you provide the name of a structure, or
  589.    the name of an INT equate, in a place where a register or
  590.    memory operand is expected.
  591.  
  592. ~59 Word Operand Required~
  593.  
  594.    This is reported when something other than a word-sized
  595.    operand is provided for one of the 286 instructions ARPL,
  596.    SLDT, LLDT, STR, LTR, VERR, VERW, SMSW, or LMSW.
  597.                                                           14-12
  598. ~97 Object Overflow~
  599.  
  600.    This is reported when the assembler runs out of room in its
  601.    output object-code segment (which also holds records used to
  602.    resolve forward references).  This will happen only if your
  603.    object output nears the object capacity, which is 64K if a
  604.    full amount of memory (about 200K) is available to the
  605.    assembler.  If you have a limited amount of memory, you should
  606.    increase the memory available to A86, by buying another board,
  607.    or by having fewer memory-resident programs installed when you
  608.    run A86.  If you are assembling OBJ files, you can break the
  609.    program into smaller assembled modules.
  610.  
  611.    It's conceivable that this error could result in a D86
  612.    session, when you are using patch-memory mode to type in an
  613.    extremely complicated program.  In that case, you should type
  614.    the program into a text file instead, and use A86 to assemble
  615.    the text file.
  616.  
  617. ~98 Undefined Symbol Not Allowed~
  618.  
  619.    This error should occur only during a D86 debugging session,
  620.    when you type an immediate-execution assembly language line
  621.    containing a symbol on in the table (typically a mistyping on
  622.    your part).  D86 allows you to add symbols to the table only
  623.    when you are in patch-memory mode (reached by pressing the F7
  624.    key).
  625.  
  626. ~99 Symbol Table Overflow~
  627.  
  628.    This is reported when the symbol table runs out of space.
  629.    It's unlikely that you'll ever run into this error, since
  630.    A86's capacity is thousands of symbols.  If you do, you'll
  631.    need to reduce the number of symbols in your program.  One way
  632.    to do so is to replace all place-marker symbols with local
  633.    labels in a limited range (like L0--L9).  See Chapter 5 for a
  634.    description of A86's local label facility.
  635.  
  636.  
  637.